function deleteFun(id){
    if (confirm("确认删除?"))
    {
        //alert('this deleteFun ID is : '+id);
        //submit to server
        $.get("delete.php",{id:id},
            function(data){
                //alert(data);
                if (data == "t") {
                    alert("删除成功！");
                    location.reload();
                }
                else {
                    alert("删除失败！");
                }
            }
        );
    }
}
